package org.agent.pojo;

import java.util.Date;
/**
 * 用戶类
 * @author Administrator
 *
 */
public class User extends Base {

	private String userCode;// 登录用户名
	private String userName;// 用户昵称
	private String userPassword;// 用户密码
	private Date creationTime;// 注册时间
	private Date lastLoginTime;// 最后登录时间
	private String createdBy;// 创建者
	private Date lastUpDateTime;// 最后修改时间
	private Integer isStart;// 是否启用。1为启用 0为不启用
	private Integer roleId;// 所属角色
	
	private String roleName;
	/**
	 * 登录用户名
	 * @return
	 */ 
	public String getUserCode() {
		return userCode;
	}
	/**
	 * 登录用户名
	 * @return
	 */
	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * 用户密码
	 * @return
	 */
	public String getUserPassword() {
		return userPassword;
	}
	/**
	 * 用户密码
	 * @return
	 */
	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public Date getCreationTime() {
		return creationTime;
	}

	public void setCreationTime(Date creationTime) {
		this.creationTime = creationTime;
	}
	/**
	 * 最后登录时间
	 * @return
	 */
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	/**
	 * 最后登录时间
	 * @return
	 */
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	/**
	 * 创建者
	 * @return
	 */
	public String getCreatedBy() {
		return createdBy;
	}
	/**
	 * 创建者
	 * @param createdBy
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public Date getLastUpDateTime() {
		return lastUpDateTime;
	}

	public void setLastUpDateTime(Date lastUpDateTime) {
		this.lastUpDateTime = lastUpDateTime;
	}

	public Integer getIsStart() {
		return isStart;
	}

	public void setIsStart(Integer isStart) {
		this.isStart = isStart;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	

}
